package com.dl.user.service;

import com.dl.common.core.response.Result;
import com.dl.common.security.vo.TokenInfoVO;
import com.dl.user.dto.UserDTO;
import com.dl.user.entity.User;

import java.util.Map;

public interface IUserService {

    /**
     * 注册用户
     * @return
     */
    Result<String> register(User user);

    /**
     * 用户登录
     *
     * @return
     */

    Result<TokenInfoVO> login(UserDTO user);
}
